const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // token的存储
  token (state) {
    return state.user.token
  }
}
export default getters
